function m = mapper(type, delay, maxtime, avgtime, avgsqtime, avgenergy, ...
		    avgresources)

m.type = type;
m.delay = delay;
m.maxtime = maxtime;
m.avgtime= avgtime;
m.avgsqtime = avgsqtime;
m.avgenergy= avgenergy;
m.avgresources = avgresources;
